package com.wzdigit.wms.basic.domain.transfer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wzdigit.framework.orm.model.BasicDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 装柜余留单表头
 * </p>
 *
 * @author 
 * @since 2021-03-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_GDN_REMAIN_HEADER")
@KeySequence(value = "WMS_GDN_REMAIN_HEADER_SEQ", clazz = Integer.class)
public class GdnRemainHeader extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 余留单表头ID
     */
    @TableId(value = "GDN_REMAIN_HEADER_ID", type = IdType.INPUT)
    private Integer gdnRemainHeaderId;

    /**
     * 余留单号
     */
    @TableField("DOC_NO")
    private String docNo;

    /**
     * 发货单单号
     */
    @TableField("GDN_NO")
    private String gdnNo;

    /**
     * 发货单表头ID
     */
    @TableField("GDN_HEADER_ID")
    private Long gdnHeaderId;

    /**
     * 余留原因
     */
    @TableField("REASON")
    private String reason;

    /**
     * 柜号(实际)
     */
    @TableField("CNTR_NO")
    private String cntrNo;

    /**
     * 车牌号
     */
    @TableField("VEHICLE_NO")
    private String vehicleNo;

    /**
     * 余留单打印标识
     */
    @TableField("PRINT_FLAG")
    private Integer printFlag;

    /**
     * 用户自定义字段1
     */
    @TableField("UDF1")
    private String udf1;

    /**
     * 用户自定义字段2
     */
    @TableField("UDF2")
    private String udf2;

    /**
     * 用户自定义字段3
     */
    @TableField("UDF3")
    private String udf3;

    /**
     * 用户自定义字段4
     */
    @TableField("UDF4")
    private String udf4;

    /**
     * 用户自定义字段5
     */
    @TableField("UDF5")
    private String udf5;

    /**
     * 备注
     */
    @TableField("COMMENTS")
    private String comments;

    /**
     * 余留单状态
     */
    @TableField("STATUS")
    private Integer status;
}
